import './App.css';
import WorldCanvas from './components/WorldCanvas';

const App = () => {
  return (
    <div className="content">
      <h1>2D World 图形编辑器</h1>
      <p>使用React和World库创建的交互式2D图形编辑器</p>
      <WorldCanvas 
        width={1000}
        height={700}
        gridSize={20}
        gridVisible={true}
        backgroundColor="#f8f9fa"
      />
    </div>
  );
};

export default App;
